<form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card'
      autocomplete="off">

    <div class="layui-card-body padding-40">
        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">系统展示名称</span><span class="nowrap color-desc">StoreTitle</span>
            <input name="store_title" required placeholder="请输入系统展示名称" value="{:sysconf('store_title')}"
                   class="layui-input">
            <p class="help-block">系统展示名称</p>
        </label>

        <label class="layui-form-item margin-top-20 block relative">
            <span class="color-green margin-right-10">预约等待时长（小时）</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)"
                   name="meetyou_reservation_wait_time" required placeholder="请输入预约等待时长"
                   value="{:sysconf('meetyou_reservation_wait_time')}" class="layui-input">
            <p class="help-block">预约等待时长，新预约需要等到此时间段后才能匹配,为空则不等待</p>
        </label>

        <label class="layui-form-item margin-top-20 block relative">
            <span class="color-green margin-right-10">预约积分</span>
            <input onblur="this.value=parseInt(this.value)" name="meetyou_reservation_credit1" required
                   placeholder="请输入每次预约扣除积分" value="{:sysconf('meetyou_reservation_credit1')}" class="layui-input">
            <p class="help-block">每次预约扣除积分，不可为0</p>
        </label>


        <label class="layui-form-item margin-top-20 block relative">
            <span class="color-green margin-right-10">匹配单量限制（每天）</span>
            <input onblur="this.value=parseInt(this.value)" name="meetyou_reservation_order_num" required
                   placeholder="请输入每天匹配单量限制" value="{:sysconf('meetyou_reservation_order_num')}" class="layui-input">
            <p class="help-block">每天可匹配预约单量，为0则不限制</p>
        </label>

        <label class="layui-form-item margin-top-20 block relative">
            <span class="color-green margin-right-10">预约时间段</span>
            <input type="text" data-date-range="time" name="meetyou_reservation_range" required placeholder="预约时间段"
                   value="{:sysconf('meetyou_reservation_range')}" class="layui-input">
            <p class="help-block">预约的时间段，在此时间段内可预约</p>
        </label>

        <label class="layui-form-item margin-top-20 block relative">
            <span class="color-green margin-right-10">匹配时间段</span>
            <input type="text" data-date-range="time" name="meetyou_transaction_range" required placeholder="匹配时间段"
                   value="{:sysconf('meetyou_transaction_range')}" class="layui-input">
            <p class="help-block">匹配的时间段，在此时间段内可匹配</p>
        </label>

        <div class="layui-form-item text-center margin-top-20">
            <button class="layui-btn" type="submit">保存配置</button>
        </div>
    </div>
</form>